package cn.edu.hatu.bookshop.dao;

import cn.edu.hatu.bookshop.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface AdminMapper {
    @Select("select * from admin")
    Admin getAdmin();
}
